
#ifndef __RECTANGLE_H__
#define __RECTANGLE_H__

#include <Side.h>

class Rectangle
{
public:
     	Rectangle(double length, double width);
	Rectangle(double sideLength);
     	double getPerimeter() const;
     	double getArea() const;
	void setProperty(double length, double width);
	void setProperty(double sideLength);

private:
     	Side length_m;
     	Side width_m;
	bool isValid() const;

};

#endif

